use std::io;
use std::result::Result;

/// IoBiConsumer trait
///
/// author noear
/// since 2.0
pub trait IoBiConsumer<T, U> {
    fn accept(&self, t: T, u: U) -> Result<(), io::Error>;
}